//
//  HttpRequest.h
//  museum
//
//  Created by thomasho on 15/11/26.
//  Copyright © 2015年 thomasho. All rights reserved.
//

#import <Foundation/Foundation.h>

#define baseDomain @"http://192.168.11.236:82/v1"
#define imageDomain @"http://image.51touchmedia.com/"
#define kDefaultUpdateTime @"2014-01-01 00:00:00"


//验证登录接口
#define url_phonelogin @"/app/phonelogin"
#define url_sociallogin @"/app/sociallogin"
#define url_regionlist @"/region/list"
#define url_regiondetail @"/region/getall"
#define url_editspot @"/region/editspot"
#define url_editrelic @"/region/editrelic"



#define url_cardactivate @"/card/activate"

@interface HttpRequest : NSObject
+ (void) request:(NSString *)url data:(NSDictionary *)data block:(void(^)(id data,id error))block;
+ (void)request:(NSString *)url data:(NSDictionary *)data file:(id)image block:(void (^)(id, id))block;
@end
